home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
fill.arc
/
FILL.DOC
next >
Wrap
Text File
|
1987-02-23
|
4KB
|
101 lines
FILL.DOC: documentation for Fill v1.0
(c) Jean Lalonde, Montreal, Canada
February 23, 1987
Hi!
Did you ever encountered this situation: you want carry the
files of a directory from one hard-disk to another. You have to
copy the files of this directory to floppy disk. The directory
contains several files, some big, other smaller, and...
C>copy *.* a:
FIRSTBIG.EXE
OTHERBIG.EXE
Insufficient disk space
1 File(s) copied
You realize that you will have to copy your directory on more
than one floppy. Then, you have two choices. First, copy each
file seperately checking the space remaining on 'A:' and the
files size. Second choice, you can use a back-up program. The
backup program is a good solution but you will have to carry
the restore program with you. With Fill, there is a third
solution...
C>fill *.* a:
Fill will copy all your files, filling up each floppy disk. To
do this, Fill will build a list of the files of the directory,
sort this list by size order and then copy the biggest file to
the floppy. Second, it will copy the biggest file that can be
copied in the remaining space of the floppy and so on. When the
first floppy will be filled up, Fill will prompt you for another
disk until the directory is completely copied to floppies.
This way, Fill optimize your floppy disk space and make the job
easy. To restore the files on the destination hard-disk, all
you will have to do is copying the files of each floppy with the
simple command...
A>copy *.* c:\directory
Fill calculate the number of floppies needed before beginning
the job. You will never have to stop because you do not have
enough floppies. Fill will also allow you to list files (dir),
delete or format the destination floppy without leaving the
program.
The only restriction is that the biggest file of your directory
must fit on one floppy (362,496 bytes or 1.2 meg according to
your configuration). If the biggest file do not fit on a floppy
you will have to use the backup/restore solution.
To allow formatting within Fill, the program FORMAT.COM (or
FORMAT.EXE) must be in your PATH directory. If FORMAT is in the
directory '\DOS', your AUTOEXEC.BAT file must specify:
PATH=C:\DOS;...other directories...;
The Fill's syntax is very similar to the copy's syntax:
Fill \directory\files target [/s]
'\directory' is the directory to copy
'files' to copy (wild cards allowed, default is '*.*')
'target' is the destination drive (must be 'A:' or 'B:')
'/S' to include sub-directories
The option '/S' allow you to repeat the process on every sub-
directories under the specified directory without repeating the
command line.
I hope Fill will be usefull to you. You can send me comments or
reports to:
Jean Lalonde
P.O. BOX 721
Station "R"
Montreal
CANADA
H2S-3M4
You can join me online on Compuserve (ID: 76606,671) or on BIX
Info Exchange (Bix name: jlalonde). Sub is written in MODULA-
2/86, Rel. 2.0 (A), PC/MS-DOS 8088/8086, LOGITECH, (C) Copyright
1983, 1984, 1985, 1986. Sub uses standard PC/MS-DOS functions,
version 3.0 or greater. The larger your RAM is, the faster Fill
will copy your files. Although it will run correctly with only
100k of RAM free.
You can use or redistribute this program freely as long as this
documentation file and the copyright remain intact. Modula-2
sources of this program are available. To receive those text
files, please send me a $25 check.
Enjoy Fill!
Jean Lalonde
February 23, 1987